package com.ruoyi.project.yingyu.activity.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 活动对象 activity
 * 
 * @author shixiangwen
 * @date 2019-11-29
 */
public class Activity extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** id */
	private Integer id;

	/** 活动名称 */
	@Excel(name = "活动名称")
	private String name;

	/** 期 */
	@Excel(name = "期")
	private String period;

	/** 开始时间 */
	private Date startTime;

	/** 结束时间 */
	private Date endTime;

	/** 规则 */
	private String rule;

	/** 状态 */
	@Excel(name = "状态")
	private Integer status;

	/** 报名人数 */
	@Excel(name = "报名人数")
	private Integer regCount;

	/** 最多报名人数 */
	@Excel(name = "最多报名人数")
	private Integer maxCount;

	/** 创建时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date createdTime;

	/** 报名开始时间 */
	@Excel(name = "报名开始时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date regStartTime;

	/** 报名结束时间 */
	@Excel(name = "报名结束时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date regEndTime;

	/** 报名费用(分) */
	@Excel(name = "报名费用(分)")
	private Integer regFee;

	/** 早鸟费用(分) */
	@Excel(name = "早鸟费用(分)")
	private Integer discountRegFee;

	/** 早鸟名次 */
	@Excel(name = "早鸟名次")
	private Integer discountRange;

	/** 天数 */
	@Excel(name = "天数")
	private Integer day;

	private String regYuan;

	private String discountRegYuan;

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getId() {
		return id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setPeriod(String period) {
		this.period = period;
	}

	public String getPeriod() {
		return period;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setRule(String rule) {
		this.rule = rule;
	}

	public String getRule() {
		return rule;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getStatus() {
		return status;
	}

	public void setRegCount(Integer regCount) {
		this.regCount = regCount;
	}

	public Integer getRegCount() {
		return regCount;
	}

	public void setMaxCount(Integer maxCount) {
		this.maxCount = maxCount;
	}

	public Integer getMaxCount() {
		return maxCount;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setRegStartTime(Date regStartTime) {
		this.regStartTime = regStartTime;
	}

	public Date getRegStartTime() {
		return regStartTime;
	}

	public void setRegEndTime(Date regEndTime) {
		this.regEndTime = regEndTime;
	}

	public Date getRegEndTime() {
		return regEndTime;
	}

	public void setRegFee(Integer regFee) {
		this.regFee = regFee;
	}

	public Integer getRegFee() {
		return regFee;
	}

	public void setDiscountRegFee(Integer discountRegFee) {
		this.discountRegFee = discountRegFee;
	}

	public Integer getDiscountRegFee() {
		return discountRegFee;
	}

	public void setDiscountRange(Integer discountRange) {
		this.discountRange = discountRange;
	}

	public Integer getDiscountRange() {
		return discountRange;
	}

	public void setDay(Integer day) {
		this.day = day;
	}

	public Integer getDay() {
		return day;
	}

	public String getRegYuan() {
		return regYuan;
	}

	public void setRegYuan(String regYuan) {
		this.regYuan = regYuan;
	}

	public String getDiscountRegYuan() {
		return discountRegYuan;
	}

	public void setDiscountRegYuan(String discountRegYuan) {
		this.discountRegYuan = discountRegYuan;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("name", getName()).append("period", getPeriod()).append("startTime", getStartTime())
				.append("endTime", getEndTime()).append("rule", getRule()).append("status", getStatus()).append("regCount", getRegCount()).append("maxCount", getMaxCount())
				.append("createdTime", getCreatedTime()).append("regStartTime", getRegStartTime()).append("regEndTime", getRegEndTime()).append("regFee", getRegFee())
				.append("discountRegFee", getDiscountRegFee()).append("discountRange", getDiscountRange()).append("day", getDay()).toString();
	}
}
